From 86d2315b27405da833b8c077b2a0c83e16342b5d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 25 Jun 2014 13:52:18 -0400 Subject: [PATCH] icon-theme: Add another lookup order test This tests rtl lookup order for non-symbolic icons. --- testsuite/gtk/icontheme.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/testsuite/gtk/icontheme.c b/testsuite/gtk/icontheme.c index 0186b51633..b7a44aa02f 100644 --- a/testsuite/gtk/icontheme.c +++ b/testsuite/gtk/icontheme.c @@ -201,6 +201,18 @@ test_lookup_order (void) "foo-bar", "foo", NULL); + assert_lookup_order ("foo-bar-baz", 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK|GTK_ICON_LOOKUP_DIR_RTL, + "foo-bar-baz-rtl", + "foo-bar-baz", + "foo-bar-rtl", + "foo-bar", + "foo-rtl", + "foo", + NULL); + assert_lookup_order ("foo-bar-baz", 16, GTK_ICON_LOOKUP_DIR_RTL, + "foo-bar-baz-rtl", + "foo-bar-baz", + NULL); assert_lookup_order ("foo-bar-baz-symbolic", 16, GTK_ICON_LOOKUP_GENERIC_FALLBACK, "foo-bar-baz-symbolic", "foo-bar-symbolic", -- 2.30.2